// 7 发单管理 3
export default {
  path: '/sendordermanage',
  name: 'sendordermanage',
  icon: 'menu-unfold',
  authority: ['ns:antd:sendorder'],
  routes: [
    {
      path: '/sendordermanage/addemployee',
      name: 'addemployee',
      hideChildrenInMenu: true,
      authority: ['ns:send:addemployee'],
      routes: [
        {
          path: '/sendordermanage/addemployee',
          redirect: '/sendordermanage/addemployee/index',
        },
        {
          path: '/sendordermanage/addemployee/index',
          component: './SendOrderManage/AddEmployee/Index',
        },
        {
          path: '/sendordermanage/addemployee/detail',
          name: 'detail',
          component: './SendOrderManage/AddEmployee/Detail',
        },

        {
          path: '/sendordermanage/addemployee/problem',
          name: 'detail',
          component: './SendOrderManage/AddEmployee/Problem',
        },
        {
          path: '/sendordermanage/addemployee/association',
          name: 'association',
          component: './SendOrderManage/AddEmployee/Association',
        },
        {
          path: '/sendordermanage/addemployee/associationdetail',
          name: 'associationdetail',
          component: './SendOrderManage/AddEmployee/AssociationDetail',
        },
        {
          path: '/sendordermanage/addemployee/batchfeedback',
          name: 'batchfeedback',
          component: './components/Problem/ProblemPage/BatchFeedback',
        },
      ],
    },
    {
      path: '/sendordermanage/reduceemployee',
      name: 'reduceemployee',
      hideChildrenInMenu: true,
      authority: ['ns:send:reduceemployee'],
      routes: [
        {
          path: '/sendordermanage/reduceemployee',
          redirect: '/sendordermanage/reduceemployee/index',
        },
        {
          path: '/sendordermanage/reduceemployee/index',
          component: './SendOrderManage/ReduceEmployee/Index',
        },
        {
          path: '/sendordermanage/reduceemployee/detail',
          name: 'detail',
          component: './SendOrderManage/ReduceEmployee/Detail',
        },
        {
          path: '/sendordermanage/reduceemployee/problem',
          name: 'detail',
          component: './SendOrderManage/ReduceEmployee/Problem',
        },
        {
          path: '/sendordermanage/reduceemployee/batchfeedback',
          name: 'batchfeedback',
          component: './components/Problem/ProblemPage/BatchFeedback',
        },
      ],
    },
    {
      path: '/sendordermanage/adjusttask',
      name: 'adjusttask',
      hideChildrenInMenu: true,
      authority: ['ns:send:changeemployee'],
      routes: [
        {
          path: '/sendordermanage/adjusttask',
          redirect: '/sendordermanage/adjusttask/index',
        },
        {
          path: '/sendordermanage/adjusttask/index',
          component: './SendOrderManage/AdjustTask/Index',
        },
        {
          path: '/sendordermanage/adjusttask/detail',
          name: 'detail',
          component: './SendOrderManage/AdjustTask/Detail',
        },
        {
          path: '/sendordermanage/adjusttask/problem',
          name: 'problem',
          component: './SendOrderManage/AdjustTask/Problem',
        },
        {
          path: '/sendordermanage/adjusttask/changeprotocol',
          name: 'changeprotocol',
          component: './SendOrderManage/AdjustTask/ChangeProt',
        },
        {
          path: '/sendordermanage/adjusttask/batchfeedback',
          name: 'batchfeedback',
          component: './components/Problem/ProblemPage/BatchFeedback',
        },
      ],
    },
  ],
};
